{extend name="base" /}
{block name="title"}{$userInfo['nickname']}会员中心|程序员的收藏夹-专注于程序员学习、分享{/block}

{block name="style"}
<style type="text/css">
	.box-title.icon::before{
		color: #4a4a4a;
	}
</style>
{/block}

{block name="header"}
	{include file="public/user_header" /}
{/block}

{block name="content"}
<div class="zbd-content">
	<div class="page">
		<div class="user-home">
			<div class="home-menu left yy">
				{include file="public/user_left_nav" /}
			</div>
			<div class="home-body right">
				<div class="row">
					<div class="w12">
						<div class="box yy">
							<div class="box-content">
								<div class="u-pic left">
									<img class="u-pic-avatar" src="{$userInfo['avatar']}">
								</div>
								<div class="u-dsc left">
									<p class="u-title">{$userInfo['nickname']}</p>
									<p class="blue"><i class="icon ice-time"></i> 加入时间：{$userInfo['create_time']} <span class="tag tag-radius bg-blue">{$userInfo['type']|default='普通'}用户</span> </p>
									<p>{$userInfo['descs']|default='这位老表真懒，什么都每留下~'}</p>
								</div>
								<a href="/home?uid={$userInfo['id']}" class="btn bg-black right"><i class="icon ice-home"></i>我的主页</a>
							</div>
						</div>
					</div>

					<div class="w12">
						<div class="box yy">
							<div class="box-title icon ice-mass">
								<div class="left bold">基本信息</div>
								<div class="right">
									<a href="/user/profile" class="right cursor-pointer"><div class="ice-writing black"><span class="small"> 编辑</span></div></a>
								</div>
							</div>
							<div class="box-content">
								<div class="zbd-item"> 
									<span>用户ID：</span> {$userInfo['openid']}
								</div>
								<div class="zbd-item"> 
									<span>用户性别：</span> {$userInfo['gender']|default='未填写'}
								</div>
								<div class="zbd-item"> 
									<span>所在地区：</span> {$userInfo['region']|default='未填写'}
								</div>
								<div class="zbd-item"> 
									<span>个人简介：</span> {$userInfo['descs']|default='未填写'}
								</div>
								<div class="zbd-item"> 
									<span>注册时间：</span> {$userInfo['create_time']}
								</div>
							</div>
						</div>

						<div class="box yy">
							<div class="box-title icon ice-meeting">
								<div class="left bold">教育信息</div>
							</div>
							<div class="box-content">
								<div class="zbd-item"> 
									<span>学校名称：</span> {$userInfo['school']|default='未填写'}
								</div>
								<div class="zbd-item"> 
									<span>专业名称：</span> {$userInfo['major']|default='未填写'}
								</div>
								<div class="zbd-item"> 
									<span>入学时间：</span> {$userInfo['entrance']|default='未填写'}
								</div>
								<div class="zbd-item"> 
									<span>学历：</span> {$userInfo['education']|default='未填写'}
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
{/block}